package set

import "github.com/astaxie/beego/orm"

type Config struct {
	Id int `orm:"pk;auto;description(主键)"`
	Name string `orm:"size(60);description(key的名称)"`
	Value string `orm:"size(120);description(值)"`
}

func (c *Config) TableName() string {
	return "sys_config"
}

func init()  {
	orm.RegisterModel(new(Config))
}